xenoprof: Fix more than one events can't be sampled concurrently for Intel CPU with...
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Dec 2007 10:34:22 +0000 (10:34 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Dec 2007 10:34:22 +0000 (10:34 +0000)
commite20250f070772b6cdfa8309e9acad14ef0dfc10c
tree289909a86b4ddcea0ceced2be28f8ca767f4e456
parent80197aaf427fe32302e8cbfc84a1aeeedfdc80df
xenoprof: Fix more than one events can't be sampled concurrently for Intel CPU with family equal to 6

The original code only sets EN bit of IA32_PERFEVTSEL0 when profiling
is started.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
xen/arch/x86/oprofile/op_model_ppro.c